/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.sys.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.sys.entity.UserBusiness;
import com.thinkgem.jeesite.modules.sys.dao.UserBusinessDao;

/**
 * 商家用户信息Service
 * @author 开发
 * @version 2016-06-19
 */
@Service
@Transactional(readOnly = true)
public class UserBusinessService extends CrudService<UserBusinessDao, UserBusiness> {

	public UserBusiness get(String id) {
		return super.get(id);
	}
	
	public List<UserBusiness> findList(UserBusiness userBusiness) {
		return super.findList(userBusiness);
	}
	
	public Page<UserBusiness> findPage(Page<UserBusiness> page, UserBusiness userBusiness) {
		return super.findPage(page, userBusiness);
	}
	
	@Transactional(readOnly = false)
	public void save(UserBusiness userBusiness) {
		super.save(userBusiness);
	}
	
	@Transactional(readOnly = false)
	public void delete(UserBusiness userBusiness) {
		super.delete(userBusiness);
	}
	
}